package txt2bib;

public class Author {
	public String name;
	public String lastName;
	
	public Author() {
		
	}

	public Author(String name, String lastName) {
		this.name = name;
		this.lastName = lastName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		
		sb.append(this.getName()).append(" ").append(this.getLastName());
		
		return sb.toString();
	}
	
}
